package com.misty.api.service;

import javax.mail.MessagingException;

/**
 * @ClassName : EmailService
 * @Description :
 * @Author :
 * @Date: 2022-12-23 14:06
 */
public interface EmailService{
    void sendSimpleMail(String from, String to, String subject, String text);

    void sendRegisterMail(String to, String subject, String text);

    void sendHtmlEmail(String to, String subject, String text) throws MessagingException;
}
